package service;

import dao.UserDao;
import dao.impl.UserDaoImpl;
import entity.User;

import java.util.List;

public interface UserService {
    User getById(String id);
    List<User> list();
    void update(User user);
    void remove(User user);


    User getByUsername(String username);
    User getNamePasswordByUsername(String username);
    List<User> getUsersByNameLikeKeyword(String keyword);
}
